package org.springblade.modules.repair.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
    * 电梯责任人
    */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "blade_elevator_principal_user")
public class ElevatorPrincipalUser extends TenantEntity {
    /**
     * 部门id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 电梯id
     */
    @TableField(value = "elevator_id")
    private Long elevatorId;

    /**
     * 类型 1-维保负责人
     */
    @TableField(value = "`type`")
    private Integer type;
}
